using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
namespace com.dtn.deals
{
	public interface Itbl_PartnerManager
	{
		int Inserttbl_Partner(tbl_Partner _tbl_Partner);
		bool Updatetbl_Partner(tbl_Partner _tbl_Partner);
		bool Deletetbl_Partner(int id);
		tbl_Partner Selecttbl_PartnerByID(int ID);
		DataTable Selecttbl_PartnersDynamic(string Where, string Order);
        DataTable Selecttbl_PartnersDynamicWithPage(int StartIndex,int MaxRecords,string Where);
        bool UpdateStatusPartnerById(int pId, int status);
        bool UpdateAcountPartner(int id, string username, string pass);
        bool IsExistedUserName(string userName , int id);
        DataTable ReportUserPartner(string Where,int StartIndex, int MaxRecords);
        bool ChangePassPartner(int ID, string pass);
        bool Updatetbl_PartnerAutoFollowUs(int ID);
	}
}
